package com.jm.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jm.common.util.entity.R;
import com.jm.common.util.entity.SelectCondition;
import com.jm.pojo.Category;
import com.jm.pojo.Toy;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface CategoryService extends IService<Category> {

    IPage<Category> selectByPageCondition(SelectCondition condition);

    List<Category> getDataListByType(Integer type);

    boolean checkId(String ids);
}
